package own.stu.jobgib.playown.basic.parentField;

public class Main {

    public static void main(String[] args) {
        Person dad = new Dad();
        dad.printName(); // person

        System.out.println(dad.getName());
    }
}
